﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TitipNyobaYan
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void buttonViewBuku_Click(object sender, EventArgs e)
        {
            var newWindow = new Views.ViewBuku();
            newWindow.Show();
            //this.Hide();
        }

        private void buttonViewDenda_Click(object sender, EventArgs e)
        {
            var newWindow = new Views.ViewDenda();
            newWindow.Show();
            //this.Hide();
        }

        private void buttonViewDipinjam_Click(object sender, EventArgs e)
        {
            var newWindow = new Views.ViewDipinjam();
            newWindow.Show();
            //this.Hide();
        }

        private void buttonViewOrang_Click(object sender, EventArgs e)
        {
            var newWindow = new Views.ViewOrang();
            newWindow.Show();
        }

    }
}
